import request from '@/utils/request'
import { ResultVoid, DeepRequired } from '../../interface'

/**
 * 根据Id删除job
 * /job/one/{id}
 */
export function deleteJobOneById(params: DeleteJobOneByIdParams) {
  return request.delete<DeepRequired<ResultVoid>>(`/job/one/${params.id}`)
}

interface DeleteJobOneByIdParams {
  id: number
}
